@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/reservations_modifyChannel.css?v=20200628" rel="stylesheet">
<div style="display: none">
    <input type="hidden" id="oneChannelValue" value="">
    <input type="hidden" id="twoChannelValue" value="">
    <input type="hidden" id="thrChannelValue" value="">
    <input type="hidden" id="num" value="${num}">
    <input type="hidden" id="outpatientNameValue" value="${outpatientName}">
    <input type="hidden" id="statusValue" value="${reservationsInfo.status}">
    <input type="hidden" id="reservationsId" value="${reservationsId}">
    <input type="hidden" id="customerName" value="${reservationsInfo.customerName}">
    <input type="hidden" id="customerPhone" value="${reservationsInfo.customerPhone}">
</div>
<div style="height: 100%;">
    <div style="background: #6090b8;color: white;padding: 5px 10px;">渠道修改</div>
    <div style="height: calc(100% - 77px);overflow: auto;padding: 5px 20px;">
        <div>
            <h3 style="margin:5px 0;">
                <span>到店状态：<span>${reservationsInfo.status}</span>&nbsp;&nbsp;</span>
                <span>患者姓名：<span>${reservationsInfo.customerName}</span>&nbsp;&nbsp;</span>
                <span>患者电话：<span>${reservationsInfo.customerPhone}</span></span>
            </h3>
        </div>
        <div id="modification">
            <div>
                <div>
                    <span>原建档人：</span>
                    <input type="text" id="name" value="${reservationsInfo.archiving}" class="frameBox" readonly="readonly">
                </div>
                <div>
                    <span>原跟进人：</span>
                    <input type="text" id="follower" value="${reservationsInfo.follower}" class="frameBox" readonly="readonly">
                </div>
                <div>
                    <span>原归属人：</span>
                    <input type="text" disabled="disabled" id="belonger" value="" class="frameBox" readonly="readonly">
                </div>
                <div>
                    <span>一级渠道：</span>
                    <input type="text" id="sOneChannel" value="${reservationsInfo.oneChannel}" class="frameBox" readonly="readonly">
                </div>
                <div>
                    <span>二级渠道：</span>
                    <input type="text" id="sTwoChannel" value="${reservationsInfo.twoChannel}" class="frameBox" readonly="readonly">
                </div>
                <div>
                    <span>三级渠道：</span>
                    <input type="text" id="sThrChannel" value="${reservationsInfo.thrChannel}" class="frameBox" readonly="readonly">
                </div>
            </div>
            <div>
                <div>
                    <span>新建档人：</span>
                    <input type="text" id="user" value="${user}" class="frameBox">
                </div>
                <div>
                    <span>新跟进人：</span>
                    <input type="text" id="xfollower" value="${user}" class="frameBox">
                </div>
                <div>
                    <span>新归属人：</span>
                    <input type="text" disabled="disabled" id="xbelonger" value="" class="frameBox" readonly="readonly">
                </div>
                <div>
                    <span>一级渠道：</span>
                    <select  id="oneChannel" name="oneChannel" class="frameBox"></select>
                </div>
                <div>
                    <span>二级渠道：</span>
                    <select  id="twoChannel" name="twoChannel" class="frameBox"></select>
                </div>
                <div>
                    <span>三级渠道：</span>
                    <select  id="thrChannel" name="thrChannel" class="frameBox"></select>
                </div>
            </div>
        </div>
        <div id="uploader-demo" style="margin-bottom: 10px;color: red;font-weight: bold;">
            <div id="avatarBtnId">选择图片（必选）</div>
            <div id="avatarPreId" class="uploader-list" style="display: flex;flex-wrap: wrap;"></div>
        </div>
        <div>
            <span style="display: inline-block;width: 80px;vertical-align: top;">备注：</span>
            <textarea name="remarks" id="remarks" style="height: 60px;width: 80%"></textarea>
        </div>
    </div>
    <div class="btnBox">
        <button type="button" class="btn" id="ensure">提交</button>
        <button type="button" class="btn" id="cancel">取消</button>
    </div>
</div>
@layout("/common/_bigimg.html"){
@}
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/initChannelss.js?v=20200628"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jsChannel.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/marketing/reservations/reservations_modifyChannel.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/doctorLooked/webuploadertoolTwo.js?v=20200628"></script>
@}